Resonance And Barton's Pendulum